package org.pt.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginResponseDto {

    @Schema(description = "用户id", example = "1")
    private Integer id;
    @Schema(description = "用户名", example = "hqz")
    private String username;
    @Schema(description = "邮箱", example = "example@example.com")
    private String email;
    @Schema(description = "是否为管理员", example = "true")
    private Boolean isAdmin;
    @Schema(description = "头像路径", example = "/avatar/default")
    private String avatarPath;
    @Schema(description = "jwt-token", example = "dwijicxc2378djsiji")
    private String token;
    private Boolean isBanned;
}
